home *** CD-ROM | disk | FTP | other *** search
- Path: ns2.borg.com!usenet
- From: warren@borg.com
- Newsgroups: comp.lang.rexx
- Subject: Re: My favorite small OS/2 Rexx program
- Date: 16 Apr 1996 08:16:58 GMT
- Organization: Team OS/2
- Distribution: inet
- Message-ID: <4kvl1q$sfn@ns2.borg.com>
- References: <199604111750.KAA16103@gw.quake.net> <changi0.9m.29RfJ7$07t@engcorp.com>
- Reply-To: warren@borg.com (Warren Hall)
- NNTP-Posting-Host: l58.borg.com
- X-Newsreader: IBM NewsReader/2 v1.9d - NLS
-
- In <changi0.9m.29RfJ7$07t@engcorp.com>, peter@engcorp.com (Peter Hansen) writes:
- >In <199604111750.KAA16103@gw.quake.net>, Dave Gomberg <gomberg@WCF.COM> writes:
- >>On Thu, 11 Apr 1996 11:26:15 GMT you wrote:
- >>>stevpem@ibm.net wrote:
- >>>> This one doesn't exploit OS/2 in any way, but it is certainly short. :)
- >>>> /* Wonder Calculator */
- >>>> arg params;
- >>>> interpret say params;
- >>>> exit
- >>>> Just type "calc 1+1" to sample its abilities. I use it all the time.
- >>>> Steven P.
- >>>I wrote the same thing a few days ago.
- >>>Imagine programming this in C++..........
- >>>Anyone still think C++ is always faster? ;-)
- >>
- >>Fast to write? This is fast to write: /**/ Interpret 'SAY' ARG(1)
- >
- >And for those who haven't time even for that:
- >
- >C:\> rexxtry say 1+1
- >
- >gives the same results! :)
-
- And the winkies continue with "mine is smaller than yours is...":
-
- /* Math.Cmd key any REXX math function to see the result . */
- arg expression; interpret say expression; exit
-
- Warren
- http://www.borg.com/~warren
-
-